import {Component, Input} from '@angular/core';
import {CommonPage} from '../../common-page';

@Component({
  selector: 'dhl-menu-form',
  templateUrl: './menu.form.component.html'
})
export class MenuFormComponent extends CommonPage {

  actions = [
    {name: '新增', value: 'add'},
    {name: '修改', value: 'update'},
    {name: '删除', value: 'delete'},
    {name: '导出', value: 'export'},
    {name: '批量导入', value: 'batchImport'},
    {name: '多选删除', value: 'selectDelete'},
    {name: '批量删除', value: 'batchDelete'}
  ];

  @Input() actionValue;
  @Input() id;
  @Input() name;
  @Input() code;
  @Input() parentName;
  @Input() icon;
  @Input() clickUrl;


  @Input() nodeId;
  @Input() nodeName;
  @Input() nodeCode;
  @Input() parentId;
  @Input() parentCode;

  @Input() projectId;


}




